#!/bin/sh
#

HOST="localhost"
PORT="5038"

echo "open $HOST $PORT"
sleep 1
echo "Action: Login"
echo "Username: lams"
echo "Secret: lams18"
echo "Events: off"
echo
echo "Action: Hangup"
echo "Channel: "+ $1
echo
sleep 1
echo
echo "Action: Logoff"
echo "END"
